<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="../../statics/js/jquery-1.12.4.js"></script>
    <link rel="stylesheet" href="../../layui/css/layui.css" />
    <script type="text/javascript" src="../../layui/layui.js"></script>
    <script type="text/javascript" src="../../assets/data.js"></script>
    <script type="text/javascript" src="../../assets/province.js"></script>
    <title>新增审核人</title>
</head>
<body>
<div class="layui-form-item">
    <label class="layui-form-label">请填写接收人的微信名</label>
    <input id="name_wx" name="name_wx">
    <button type="button" class="layui-btn layui-btn-normal add" id="adds">新增</button>
</div>
</body>
<script type="text/javascript">
    $("body").on("click", ".add", function() {
        var name_wx = $("#name_wx").val();
        if(name_wx!=null && name_wx !=''){
            $.ajax({
                url:'../../web/review',
                type:"POST",
                dataType:"json",
                    data:{/*av-NewDRIVER*/
                    name_wx:name_wx
                },success:function (data) {
                    alert("新增成功!");
                    $("#name_wx").val("");
                }
            })
        }
    });
</script>
</html>